
from google.appengine.ext import db

class Visit(db.Model):
    ownerId = db.StringProperty()
    owner = db.TextProperty()
    viewerId = db.StringProperty()
    viewer = db.TextProperty()
    enterTime = db.DateTimeProperty()
    exitTime = db.DateTimeProperty()
    cookie = db.StringProperty()
    ip = db.StringProperty()
    sessionId = db.StringProperty()
    param = db.StringProperty()
  
class Preferences(db.Model):
    owner = db.StringProperty()
    feedPrefs = db.TextProperty()
    counters = db.TextProperty()
    totalCount = db.IntegerProperty()
    
class UnknownVisit(db.Model):
    ownerId = db.StringProperty()
    enterTime = db.DateTimeProperty()
    exitTime = db.DateTimeProperty()
    cookie = db.StringProperty()
    ip = db.StringProperty()
    sessionId = db.StringProperty()
    param = db.StringProperty()
    